package com.ruoyi.eqmonitor.smdtv.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.eqmonitor.smdtv.domain.Smdtv10;
import com.ruoyi.eqmonitor.smdtv.domain.Smdtv11;
import org.apache.ibatis.annotations.Param;

/**
 * @author ruoyi
 * @date 2023-01-09
 */
public interface Smdtv11Mapper extends BaseMapper<Smdtv11>{

    public List<Smdtv11> selectSmdtv11List(@Param("smdtv11")Smdtv11 smdtv11,
                                           @Param("tableName")String tableName,
                                           @Param("pageNum")Integer pageNum,
                                           @Param("pageSize")Integer pageSize);

    Long getTotal(@Param("smdtv11")Smdtv11 smdtv11,
                  @Param("tableName")String tableName);

    public Smdtv11 selectSmdtv11ById(@Param("id")Long id,@Param("tableName")String tableName);

    int save(@Param("smdtv11")Smdtv11 smdtv11,@Param("tableName")String tableName);

    int updateById(@Param("smdtv11")Smdtv11 smdtv11,@Param("tableName")String tableName);


}
